<template>
	<view :style="{height:height + 'px'}" class="box">
		<image style="width: 311rpx;height: 210rpx;" src="https://syxiyi.oss-cn-shenzhen.aliyuncs.com/frontend/img/paysuccess.png"></image>
		<view style="padding-top: 70rpx;color: #333333;font-weight: 600;font-size: 36rpx;">支付成功</view>
		<view style="padding-top: 30rpx;color: #999999;">
			您已经完成支付
		</view>
		<view class="but" @click="knownClick">
			知道了
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				height: ''
			}
		},
		onLoad() {
			let res = uni.getSystemInfoSync()
			this.height = res.windowHeight
		},
		methods: {
			knownClick() {
				uni.reLaunch({
					url:'/pages/index/index'
				})
			}
		}
	}
</script>

<style>
	.box {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.but {
		margin-top: 197rpx;
		text-align: center;
		color: white;
		line-height: 90rpx;
		width: 537rpx;
		height: 90rpx;
		font-size: 30rpx;
		background: linear-gradient(-17deg, rgba(255, 114, 59, 1), rgba(255, 147, 67, 1));
		box-shadow: 0px 4rpx 9rpx 2rpx rgba(255, 113, 59, 0.39);
		border-radius: 45rpx;
	}
</style>
